﻿using System;
using System.Text;
using System.Collections.Generic;
using Cinchoo.Core.Configuration;
using System.ComponentModel;
using System.Runtime.Remoting.Contexts;
using System.Dynamic;
using Cinchoo.Core.Text.RegularExpressions;
using System.Text.RegularExpressions;
using Cinchoo.Core.Diagnostics;
using Cinchoo.Core;
using System.Diagnostics;
using Cinchoo.Core.Xml.Serialization;
using Cinchoo.Core.IO;
using System.IO;
using System.Xml.Serialization;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
using System.Windows;
using Cinchoo.Core.WPF;
using System.Windows.Data;
using System.Linq;
using System.Collections.ObjectModel;
using ChoWorkflowServer.Model;
using System.Reflection;
using Cinchoo.Core.Windows;

namespace ChoETLTaskPGSourceObjects
{
    public class FTP_GET_PGSourceObject : ChoPropertyGridSourceObject
    {
        #region Instance Data Members (Mandatory Options)

        [Category("Mandatory Params")]
        [Description("The URI that identifies the Internet resource.")]
        [DisplayName("Request URI string")]
        public string REQUEST_URI_STRING
        {
            get;
            set;
        }

        #endregion Instance Data Members (Mandatory Options)

        #region Instance Data Members (Optional Options)

        [Category("Optional Params")]
        [Description("Absolute destination file path.")]
        [DisplayName("Destination File Path")]
        public string DEST_FILE_PATH
        {
            get;
            set;
        }

        [Category("Optional Params")]
        [Description("The user name associated with the credentials.")]
        [DisplayName("User Name")]
        public string USER_NAME
        {
            get;
            set;
        }

        [Category("Optional Params")]
        [Description("The password for the user name associated with the credentials.")]
        [DisplayName("Password")]
        public string PASSWORD
        {
            get;
            set;
        }

        [Category("Optional Params")]
        [Description("Gets or sets the behavior of a client application's data transfer process.")]
        [DisplayName("Use Passive")]
        [DefaultValue(true)]
        public bool USE_PASSIVE
        {
            get;
            set;
        }

        [Category("Optional Params")]
        [Description("Gets or sets a System.Boolean value that specifies the data type for file transfers.")]
        [DisplayName("Use Binary")]
        [DefaultValue(true)]
        public bool USE_BINARY
        {
            get;
            set;
        }
        #endregion Instance Data Members (Common Options)
    }
}
